home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.6 KB | 44 lines | [TEXT/GEOL] |
- Item 4320447 30-July-90 19:19PDT
-
- From: AFTERHOURS After Hours SW,Richard Wolpert,PRT
-
- To: MACAPP.TECH$ MacApp Technical
- MACDTS Macintosh Developer Tech Supt
-
- Sub: MacApp & Postscript files
-
-
- TO: DTS,MACAPP.TECH$
- FR: AFTERHOURS
- RE: MacApp and Postscript Files
-
- Hi gang,
-
- Thanks for all the responses to handles in MacApp. The problem turned out to
- be that when we opened an application as a resource file, all the resources
- with resPreLoad = TRUE were loaded into memory. This caused lots of memory
- problems (obviously), so simply setting resLoad to false temporarilly with
- SetResLoad(FALSE) before the call to OpenresFile saved the day.
-
- On to our next challenge. We want to print postscript files from within a
- MacApp view. I think this topic has been touched on before, but I can't
- remember when or where. I have an idea of where code to do this will go, in a
- method of a subclass of TView, something like TPostscriptFile.Draw. The
- question is, what is the code I need to put there? or..
-
- How do I print a postscript file in MacApp?
-
- I don't need to set up the printer or the printshop, or the grafport, or
- anything like that because MacApp takes care of this for me, right? So all I
- need to do is open the file (resource, whatever), send the info to the printer,
- and close the file. Any ideas? Am I on the right track?
-
- Also, is there a difference between a postscript file and a EPS file? If so,
- is there different code used to print EPS files?
-
- Thanks for your support...
-
- Dan Cooley
- After Hours Software
-
-